home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 1 / PC World Interactive 1 - Nisan 1997.iso / nostalji / bbs / prog / vjtrial3.exe / VJGLUE.BAT next >
Encoding:
DOS Batch File  |  1996-07-04  |  821 b   |  31 lines

  1. @echo off
  2. if "%SystemRoot%"=="" cd %winbootdir%\Java\VJTrial
  3. if "%winbootdir%"=="" cd %SystemRoot%\Java\VJTrial
  4. echo Glueing VJTRIAL.EXE back together again...
  5. if not exist vjtrial1.dat goto error
  6. if not exist vjtrial2.dat goto error
  7. if not exist vjtrial3.dat goto error
  8. copy /B vjtrial1.dat+vjtrial2.dat+vjtrial3.dat vjtrial.exe
  9. echo:
  10. echo Finished!
  11. echo:
  12. if exist vjtrial.exe goto install
  13. echo To install the Visual J++ trial version, run VJTRIAL.EXE
  14. goto end
  15.  
  16. :install
  17. echo Cleaning up the old files to save disk space...
  18. del vjtrial*.dat
  19. REM Run the VJ trial installation EXE
  20. vjtrial
  21. goto end
  22.  
  23. :error
  24. echo:
  25. echo I am not finding all 3 VJTRIAL data files.
  26. echo Make sure you have VJTRIAL1.DAT, VJTRIAL2.DAT and VJTRIAL3.DAT
  27. echo in this directory first and the run VJGLUE.BAT
  28. echo:
  29.  
  30. :end
  31.